package com.xmut.mall.store.feign;

import com.xmut.mall.store.utils.RespBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("mall-coupon")
public interface CouponFeignService {

    /**
     * 根据Map参数获取装修数据
     *
     * @param params
     * @return
     */
    @PostMapping("/coupon/pagedata/getPageDataByMap")
    RespBean getPageDataByMap(@RequestBody Map<String, Object> params);
}